home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Appearance SDK 1.0.4 / Appearance Sample Code / Source / TextPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-16  |  849 b   |  49 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        TextPane.h
  3.  
  4.     Contains:    Class to drive text pane in MegaDialog.
  5.  
  6.     Version:    Appearance 1.0 SDK
  7.  
  8.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                Edward Voas
  13.  
  14.         Other Contact:        7 of 9, Borg Collective
  15.  
  16.         Technology:            OS Technologies Group
  17.  
  18.     Writers:
  19.  
  20.         (edv)    Ed Voas
  21.  
  22.     Change History (most recent first):
  23.  
  24.          <1>     9/11/97    edv        First checked in.
  25. */
  26.  
  27. #pragma once
  28.  
  29. #include "MegaPane.h"
  30. #include <Appearance.h>
  31.  
  32. class TextPane : public MegaPane
  33. {
  34.     public:
  35.             TextPane( DialogPtr dialog, SInt16 items );
  36.         virtual ~TextPane();
  37.         
  38.         virtual void        Idle();
  39.         virtual void        ItemHit( SInt16 item );
  40.     
  41.     private:
  42.         static pascal ControlKeyFilterResult
  43.             NumericFilter( ControlHandle control, SInt16* keyCode, SInt16* charCode,
  44.                             SInt16* modifiers);
  45.         
  46.         static ControlKeyFilterUPP        fFilterProc;
  47.  
  48. };
  49.